package com.xx.bysj.mapper;

import com.xx.bysj.dto.HnRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HnRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(HnRole record);

    int insertSelective(HnRole record);

    HnRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(HnRole record);

    int updateByPrimaryKey(HnRole record);

    List<HnRole> selectByRoleName(HnRole role);

    Integer insertReturn(HnRole role);
}